<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: Distortion Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_distortion.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_distortion-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Distortion Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Handle distortion related stuff.  
 <a href="class_distortion.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_distortion_8h_source.html">Distortion.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af712b1eb22bc79f96a2febc3e21b859a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#af712b1eb22bc79f96a2febc3e21b859a">Distortion</a> ()</td></tr>
<tr class="separator:af712b1eb22bc79f96a2febc3e21b859a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896b0eba070c9a6f3eac93e2dbbebf2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a896b0eba070c9a6f3eac93e2dbbebf2a">init</a> ()</td></tr>
<tr class="separator:a896b0eba070c9a6f3eac93e2dbbebf2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ba31d958e4ea926676ebd4210f7fb2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a2ba31d958e4ea926676ebd4210f7fb2e">enable</a> (bool permanent=true)</td></tr>
<tr class="separator:a2ba31d958e4ea926676ebd4210f7fb2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8631b6805cc9b350008746ec1d18a33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#aa8631b6805cc9b350008746ec1d18a33">disable</a> (bool permanent=true)</td></tr>
<tr class="separator:aa8631b6805cc9b350008746ec1d18a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a640cb0ba702cb2f1cd6faddb512e0661"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a640cb0ba702cb2f1cd6faddb512e0661">measure</a> (void)</td></tr>
<tr class="separator:a640cb0ba702cb2f1cd6faddb512e0661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a529c935a116870f3b3d451a2c82b39d5"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a529c935a116870f3b3d451a2c82b39d5">correct</a> (int32_t x, int32_t y, int32_t z) const</td></tr>
<tr class="memdesc:a529c935a116870f3b3d451a2c82b39d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute distortion correction at given position.  <a href="#a529c935a116870f3b3d451a2c82b39d5">More...</a><br /></td></tr>
<tr class="separator:a529c935a116870f3b3d451a2c82b39d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d0c7638a2e54ccf0ff62437d6260c07"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a9d0c7638a2e54ccf0ff62437d6260c07">updateDerived</a> ()</td></tr>
<tr class="separator:a9d0c7638a2e54ccf0ff62437d6260c07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9698fdbe2b1ca4ea8f931986eb39e158"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a9698fdbe2b1ca4ea8f931986eb39e158">reportStatus</a> ()</td></tr>
<tr class="separator:a9698fdbe2b1ca4ea8f931986eb39e158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a171794b1a3a88ae4ae47141691815ab5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a171794b1a3a88ae4ae47141691815ab5">isEnabled</a> ()</td></tr>
<tr class="separator:a171794b1a3a88ae4ae47141691815ab5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac55b15ad926b5da20da8ff7433ff01e9"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#ac55b15ad926b5da20da8ff7433ff01e9">zMaxSteps</a> ()</td></tr>
<tr class="separator:ac55b15ad926b5da20da8ff7433ff01e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff92f447a1fe524507dded98c8423747"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#aff92f447a1fe524507dded98c8423747">set</a> (float x, float y, float z)</td></tr>
<tr class="separator:aff92f447a1fe524507dded98c8423747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38c784e92199db781afcfe627458db29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a38c784e92199db781afcfe627458db29">showMatrix</a> ()</td></tr>
<tr class="separator:a38c784e92199db781afcfe627458db29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca60dee7ab40ba54d1adecc0611e2b83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#aca60dee7ab40ba54d1adecc0611e2b83">resetCorrection</a> ()</td></tr>
<tr class="separator:aca60dee7ab40ba54d1adecc0611e2b83"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a6ea610ab9616de000584ed435b4faa00"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a6ea610ab9616de000584ed435b4faa00">matrixIndex</a> (<a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y) const</td></tr>
<tr class="separator:a6ea610ab9616de000584ed435b4faa00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1b1aa003aebce26ce329b75fefd5535"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#af1b1aa003aebce26ce329b75fefd5535">getMatrix</a> (int index) const</td></tr>
<tr class="separator:af1b1aa003aebce26ce329b75fefd5535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfb43cdc650c81e3c0310a3d6278464c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#acfb43cdc650c81e3c0310a3d6278464c">setMatrix</a> (int32_t val, int index)</td></tr>
<tr class="separator:acfb43cdc650c81e3c0310a3d6278464c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6edf31ca2e19c6fb747c5a930c1db693"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a6edf31ca2e19c6fb747c5a930c1db693">isCorner</a> (<a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> i, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> j) const</td></tr>
<tr class="separator:a6edf31ca2e19c6fb747c5a930c1db693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40472930740db7056ab1b321c5014186"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h_a_l_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a40472930740db7056ab1b321c5014186">extrapolatePoint</a> (<a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x1, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y1, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x2, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y2) const</td></tr>
<tr class="separator:a40472930740db7056ab1b321c5014186"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57923fb7e467fe9c505bb4852e8a6cbb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a57923fb7e467fe9c505bb4852e8a6cbb">extrapolateCorner</a> (<a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> dx, <a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> dy)</td></tr>
<tr class="separator:a57923fb7e467fe9c505bb4852e8a6cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6876ea55e62c502ccfb3b022020f31bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a6876ea55e62c502ccfb3b022020f31bc">extrapolateCorners</a> ()</td></tr>
<tr class="separator:a6876ea55e62c502ccfb3b022020f31bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a62551812761d90959037aa08395aa07b"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a62551812761d90959037aa08395aa07b">step</a></td></tr>
<tr class="separator:a62551812761d90959037aa08395aa07b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b43d83e128ff5e69b2f1cb25fb2097"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a65b43d83e128ff5e69b2f1cb25fb2097">radiusCorrectionSteps</a></td></tr>
<tr class="separator:a65b43d83e128ff5e69b2f1cb25fb2097"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79e096fada6b6c1c03e1d757a1df32d5"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#a79e096fada6b6c1c03e1d757a1df32d5">zStart</a></td></tr>
<tr class="separator:a79e096fada6b6c1c03e1d757a1df32d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeca8aa951faa77c9275180a9b882767"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#adeca8aa951faa77c9275180a9b882767">zEnd</a></td></tr>
<tr class="separator:adeca8aa951faa77c9275180a9b882767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad09f2bb604c230247a5c4f8977999077"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#ad09f2bb604c230247a5c4f8977999077">matrix</a> [<a class="el" href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a> *<a class="el" href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a>]</td></tr>
<tr class="separator:ad09f2bb604c230247a5c4f8977999077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade70f7f70c1fffb8b680e5d90a443df5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_distortion.html#ade70f7f70c1fffb8b680e5d90a443df5">enabled</a></td></tr>
<tr class="separator:ade70f7f70c1fffb8b680e5d90a443df5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Handle distortion related stuff. </p>
<p><a class="el" href="class_distortion.html" title="Handle distortion related stuff. ">Distortion</a> correction can be used to solve problems resulting from an uneven build plate. It allows measuring a nxn grid with a z-probe and add these correction to all moves. Normally you start at the bottom with 100% correction and at 0.5mm you start reducing correction until it vanishes completely at 1-3 mm.</p>
<p>The stored values are steps required to reach the bumped level assuming you are at zMin. So if you have a 1mm indentation it contains -steps per mm. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af712b1eb22bc79f96a2febc3e21b859a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af712b1eb22bc79f96a2febc3e21b859a">&#9670;&nbsp;</a></span>Distortion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Distortion::Distortion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a529c935a116870f3b3d451a2c82b39d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a529c935a116870f3b3d451a2c82b39d5">&#9670;&nbsp;</a></span>correct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::correct </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compute distortion correction at given position. </p>
<p>The current tool offset is added to the CNC position to reference the right distortion point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>coordinate in CMC steps. </td></tr>
    <tr><td class="paramname">y</td><td>coordinate in CMC steps. </td></tr>
    <tr><td class="paramname">z</td><td>coordinate in CMC steps. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Correction required in z steps. </dd></dl>

</div>
</div>
<a id="aa8631b6805cc9b350008746ec1d18a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8631b6805cc9b350008746ec1d18a33">&#9670;&nbsp;</a></span>disable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::disable </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>permanent</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2ba31d958e4ea926676ebd4210f7fb2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ba31d958e4ea926676ebd4210f7fb2e">&#9670;&nbsp;</a></span>enable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::enable </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>permanent</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a57923fb7e467fe9c505bb4852e8a6cbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57923fb7e467fe9c505bb4852e8a6cbb">&#9670;&nbsp;</a></span>extrapolateCorner()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::extrapolateCorner </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6876ea55e62c502ccfb3b022020f31bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6876ea55e62c502ccfb3b022020f31bc">&#9670;&nbsp;</a></span>extrapolateCorners()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::extrapolateCorners </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a40472930740db7056ab1b321c5014186"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40472930740db7056ab1b321c5014186">&#9670;&nbsp;</a></span>extrapolatePoint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::extrapolatePoint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Extrapolates the changes from p1 to p2 to p3 which has the same distance as p1-p2. </p>

</div>
</div>
<a id="af1b1aa003aebce26ce329b75fefd5535"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1b1aa003aebce26ce329b75fefd5535">&#9670;&nbsp;</a></span>getMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::getMatrix </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a896b0eba070c9a6f3eac93e2dbbebf2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a896b0eba070c9a6f3eac93e2dbbebf2a">&#9670;&nbsp;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6edf31ca2e19c6fb747c5a930c1db693"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6edf31ca2e19c6fb747c5a930c1db693">&#9670;&nbsp;</a></span>isCorner()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Distortion::isCorner </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>j</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a171794b1a3a88ae4ae47141691815ab5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a171794b1a3a88ae4ae47141691815ab5">&#9670;&nbsp;</a></span>isEnabled()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Distortion::isEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6ea610ab9616de000584ed435b4faa00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ea610ab9616de000584ed435b4faa00">&#9670;&nbsp;</a></span>matrixIndex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Distortion::matrixIndex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a640cb0ba702cb2f1cd6faddb512e0661"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a640cb0ba702cb2f1cd6faddb512e0661">&#9670;&nbsp;</a></span>measure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Distortion::measure </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9698fdbe2b1ca4ea8f931986eb39e158"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9698fdbe2b1ca4ea8f931986eb39e158">&#9670;&nbsp;</a></span>reportStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::reportStatus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aca60dee7ab40ba54d1adecc0611e2b83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca60dee7ab40ba54d1adecc0611e2b83">&#9670;&nbsp;</a></span>resetCorrection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::resetCorrection </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aff92f447a1fe524507dded98c8423747"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff92f447a1fe524507dded98c8423747">&#9670;&nbsp;</a></span>set()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::set </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acfb43cdc650c81e3c0310a3d6278464c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfb43cdc650c81e3c0310a3d6278464c">&#9670;&nbsp;</a></span>setMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::setMatrix </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a38c784e92199db781afcfe627458db29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38c784e92199db781afcfe627458db29">&#9670;&nbsp;</a></span>showMatrix()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::showMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9d0c7638a2e54ccf0ff62437d6260c07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d0c7638a2e54ccf0ff62437d6260c07">&#9670;&nbsp;</a></span>updateDerived()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Distortion::updateDerived </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac55b15ad926b5da20da8ff7433ff01e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac55b15ad926b5da20da8ff7433ff01e9">&#9670;&nbsp;</a></span>zMaxSteps()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::zMaxSteps </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ade70f7f70c1fffb8b680e5d90a443df5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade70f7f70c1fffb8b680e5d90a443df5">&#9670;&nbsp;</a></span>enabled</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Distortion::enabled</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad09f2bb604c230247a5c4f8977999077"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad09f2bb604c230247a5c4f8977999077">&#9670;&nbsp;</a></span>matrix</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::matrix[<a class="el" href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a> *<a class="el" href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a65b43d83e128ff5e69b2f1cb25fb2097"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65b43d83e128ff5e69b2f1cb25fb2097">&#9670;&nbsp;</a></span>radiusCorrectionSteps</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::radiusCorrectionSteps</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a62551812761d90959037aa08395aa07b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62551812761d90959037aa08395aa07b">&#9670;&nbsp;</a></span>step</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::step</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="adeca8aa951faa77c9275180a9b882767"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeca8aa951faa77c9275180a9b882767">&#9670;&nbsp;</a></span>zEnd</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::zEnd</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a79e096fada6b6c1c03e1d757a1df32d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79e096fada6b6c1c03e1d757a1df32d5">&#9670;&nbsp;</a></span>zStart</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Distortion::zStart</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ArduinoAVR/Repetier/<a class="el" href="_distortion_8h_source.html">Distortion.h</a></li>
<li>src/ArduinoAVR/Repetier/<a class="el" href="_distortion_8cpp.html">Distortion.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_distortion.html">Distortion</a></li>
    <li class="footer">Generated on Tue Sep 19 2017 18:54:02 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
